using System;
using UnityEngine;

public class AutoRotation : MonoBehaviour
{
	
	public float speedX = 0;
	public float speedY = 0;
	public float speedZ = 0;
	
	void LateUpdate(){
		transform.Rotate(new Vector3(300*Time.deltaTime*speedX,300*Time.deltaTime*speedY,300*Time.deltaTime*speedZ),Space.World);
	}
}

